<?php
/* Smarty version 3.1.29, created on 2016-05-25 02:43:39
  from "F:\AppServ\www\MVC\three\tpl\admin\login.html" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_5745115badcab8_44476498',
  'file_dependency' => 
  array (
    'e1fb642997dcd154f8eda605c4f8d5c96522b2b4' => 
    array (
      0 => 'F:\\AppServ\\www\\MVC\\three\\tpl\\admin\\login.html',
      1 => 1464144210,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_5745115badcab8_44476498 ($_smarty_tpl) {
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>后台登录</title>
<meta name="author" content="DeathGhost" />
<link rel="stylesheet" type="text/css" href="tpl/admin/css/style.css" />
<style type="text/css">
body{
  height:100%;
  background:#16a085;
  overflow:hidden;
}
canvas{
  z-index:-1;
  position:absolute;
}
.ver_btn{
  display: none;
}
.admin_login dd .checkcode{
  width: 215px;
}
#J_codetext{
  width: 203px;
}
</style>
<?php echo '<script'; ?>
 src="tpl/admin/js/jquery.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="tpl/admin/js/verificationNumbers.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="tpl/admin/js/Particleground.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
>
$(document).ready(function() {
  //粒子背景特效
  $('body').particleground({
    dotColor: '#5cbdaa',
    lineColor: '#5cbdaa'
  });
  //验证码
  createCode();
  //测试提交，对接程序删除即可
  $(".submit_btn").click(function(){
      if(validate() == true){
        return true;
      }else{
        alert('你输入的验证码有误，请从新输入！');
        return false;
      }
	  });
});
<?php echo '</script'; ?>
>
</head>
<body>
<dl class="admin_login">
 <dt>
  <strong>站点后台管理系统</strong>
  <em>Management System</em>
 </dt>
 
 <form method='post' acthion='admin.php?controller=admin&method=login'>
 <dd class="user_icon">
  <input type="text" name='username' placeholder="账号" class="login_txtbx"/>
 </dd>
 <dd class="pwd_icon">
  <input type="password" name='password' placeholder="密码" class="login_txtbx"/>
 </dd>
 <dd class="val_icon">
  <div class="checkcode" >
    <input type="text" id="J_codetext" placeholder="验证码" maxlength="4" class="login_txtbx">
    <canvas class="J_codeimg" id="myCanvas" onclick="createCode()">对不起，您的浏览器不支持canvas，请下载最新版浏览器!</canvas>
  </div>
  <input type="button" value="更改验证码" class="ver_btn" onclick="createCode()">
 </dd>
 <dd>
  <input type="submit" value="立即登陆" class="submit_btn"/>
 </dd>
 </form>

 <dd>
  <p>© 2015-2016 DeathGhost 版权所有</p>
  <p>陕B2-20080224-1</p>
 </dd>
</dl>
</body>
</html>
<?php }
}
